package com.tinem.platform.client.message;

import com.tinem.platform.module.pojo.vo.message.online.StatusReq;
import com.tinem.platform.module.pojo.vo.message.online.StatusRes;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;

@FeignClient(value = "platform-cloud-service-message",contextId = "platform-cloud-service-message.onlineClient")
public interface OnlineClient {


    @PostMapping("/online/status.api")
    @ResponseBody
    StatusRes status(@RequestBody StatusReq statusReq);
}
